﻿<UserControl
    x:Class="Studio77.Timer.TimerItemView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Studio77.Timer"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="900" Height="100" Width="1366">
    
    <Grid>
    	<Grid.Background>
    		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    			<GradientStop Color="#FFB3D3FF"/>
    			<GradientStop Color="#FF607D81" Offset="1"/>
    		</LinearGradientBrush>
    	</Grid.Background>
    	<Grid Margin="10,10,0,10" Width="80" Height="80" HorizontalAlignment="Left">
            <Ellipse x:Name="headTip" Fill="{Binding TipBrush}" HorizontalAlignment="Left" Height="80" Stroke="Black" VerticalAlignment="Top" Width="80"/>
    		<Ellipse HorizontalAlignment="Left" Height="80" VerticalAlignment="Top" Width="80">
    			<Ellipse.Fill>
    				<LinearGradientBrush EndPoint="0.894,1.001" StartPoint="0.222,0.081">
    					<GradientStop Color="#4CFFFFFF"/>
    					<GradientStop Color="#26AAAAAA" Offset="1"/>
    					<GradientStop Color="#3332F3D9" Offset="0.358"/>
    				</LinearGradientBrush>
    			</Ellipse.Fill>
    		</Ellipse>
            <TextBlock x:Name="txtTip"  HorizontalAlignment="Center" TextWrapping="Wrap" Text="{Binding TipName}" VerticalAlignment="Center" FontSize="48" FontFamily="Arial"/>

    	</Grid>
        <TextBlock x:Name="s" Foreground="{Binding TxtBrush}" HorizontalAlignment="Center" TextWrapping="Wrap" Text="{Binding LeftTime}" VerticalAlignment="Center" FontSize="93.333"/>
    	<Button x:Name="btnDelete" Content="Delete" HorizontalAlignment="Right" Height="50" Margin="0,24,40,0" VerticalAlignment="Top" Width="108" FontSize="24"/>

    </Grid>
</UserControl>
